﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Data_Transfer_Layer
{
    class chitiethoadondichvuDTO
    {
        #region Varaibles
        private int hd_id, cthddv_soluong, cthddv_gia, dv_id;
        private string cthddv_tgsudung;
        #endregion

        #region Properties
        public string Cthddv_tgsudung
        {
            get { return cthddv_tgsudung; }
            set { cthddv_tgsudung = value; }
        }
        public int Dv_id
        {
            get { return dv_id; }
            set { dv_id = value; }
        }

        public int Cthddv_gia
        {
            get { return cthddv_gia; }
            set { cthddv_gia = value; }
        }

        public int Cthddv_soluong
        {
            get { return cthddv_soluong; }
            set { cthddv_soluong = value; }
        }

        public int Hd_id
        {
            get { return hd_id; }
            set { hd_id = value; }
        }
        #endregion

        public chitiethoadondichvuDTO()
        {
            hd_id = -1;
            dv_id = -1;
            cthddv_soluong = -1;
            cthddv_gia = -1;
            cthddv_tgsudung = "";
        }
        public chitiethoadondichvuDTO(int cthddv_id, int dv_id, int cthddv_soluong, int cthddv_gia, string cthddv_tgsudung)
        {
            this.hd_id = cthddv_id;
            this.dv_id = dv_id;
            this.cthddv_soluong = cthddv_soluong;
            this.cthddv_gia = cthddv_gia;
            this.cthddv_tgsudung = cthddv_tgsudung;
        }
    }
}
